﻿using mqtt.client.test.Constant;
using mqtt.client.test.Mqtt.Constant;

namespace mqtt.client.test.Input;

internal class PingDataInput : AbstractDataPacket
{
    protected override void PushHeaders()
    {
        byte header = PacketType.PINGREQ << 4 | HeaderFlag.PINGREQ;

        Data.Add(header);
    }

    protected override void PushRemainingLength()
    {
        Data.Add(0x00);
    }

    protected override void PushVariableHeader()
    {

    }

    protected override void PushPayload()
    {

    }

}